Skip to content

feat: add rp pod lifecycle commands - #639

Open
KAJdev wants to merge 13 commits into
zeke/con-1155-rp-volumefrom
zeke/con-1119-rp-pod
Open

KAJdev wants to merge 13 commits into
zeke/con-1155-rp-volumefrom
zeke/con-1119-rp-pod

Conversation

@KAJdev

@KAJdev KAJdev commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Adds pod lifecycle commands with human-readable hardware selection, JSON output, and REST-backed SSH access. Builds on #638 and provides shared env parsing and SDK log streaming. Readiness waits use runtime uptime to reflect a running container.

@KAJdev
KAJdev changed the base branch from zeke/con-1118-rp-catalog to zeke/con-1155-rp-volume October 20, 2026 00:56
@KAJdev
KAJdev added this pull request to stack #642 October 20, 2026 00:56
Comment thread tests/test_cli/test_cli_logs.py
Comment thread tests/test_cli/test_cli_logs.py
Comment thread tests/test_cli/test_pod_command.py Dismissed
Comment thread tests/test_cli/test_cli_logs.py Dismissed
Comment thread tests/test_cli/test_cli_logs.py Dismissed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Restart readiness and log-stream handling have unresolved correctness issues.

5 open issues
What changed in this PR

Adds REST-backed pod lifecycle commands to rp, extending the resource-management work in #638.

Changes:

  • Adds pod creation, updates, lifecycle actions, hardware selection, and JSON output.
  • Integrates SSH access and shared log streaming with resumable cursors.
  • Adds shared environment parsing and tests.
File Description
tests/​test_cli/​test_pod_command.py Tests pod commands and REST-backed sync.
tests/​test_cli/​test_cli_options.py Tests environment parsing.
tests/​test_cli/​test_cli_logs.py Tests log snapshots and following.
tests/​test_cli/​test_cli_groups/​test_ssh_functions.py Tests REST SSH-key retrieval.
tests/​test_apps/​test_logs.py Tests stream cursor handling.
runpod/​rp_cli/​pod.py Implements pod lifecycle commands.
runpod/​rp_cli/​options.py Adds shared environment parsing.
runpod/​rp_cli/​main.py Registers the new pod command group.
runpod/​rp_cli/​logs.py Adds shared CLI log views.
runpod/​cli/​groups/​ssh/​functions.py Retrieves SSH keys through REST.
runpod/​apps/​logs.py Adds REST stream selection and resume cursors.

Review effort: Balanced

Comment thread runpod/apps/logs.py
Comment thread runpod/rp_cli/logs.py Outdated
Comment thread runpod/rp_cli/pod.py Outdated
Comment thread runpod/rp_cli/pod.py Outdated
Comment thread runpod/rp_cli/pod.py Outdated

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants